package com.xiao.sulingproduct.fegin;

import com.xiao.sulingpublic.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: 1322127758@qq.com
 * @date: 2022/3/19 20:15
 * @作用:
 */
@FeignClient("suling-user")
public interface userFeign {

    /**
     * 通过member获取用户信息
     */
    @RequestMapping("/select/userData")
    //@RequiresPermissions("sulinguxqg:member:info")
    R getUserDataByUsername(@RequestParam("username") String username);
}
